﻿using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace Models
{
    public static class Constant
    {
        /// <summary>
        /// todo 转移到数据库
        /// </summary>
        public static List<SmartClientMenu> Menus
        {
            get
            {
                return new List<SmartClientMenu>()
                {
                    new SmartClientMenu()
                    {
                        Name="用户",
                        SubMenus = new ObservableCollection<SmartClientMenu>()
                        {
                          new SmartClientMenu(){Name="用户管理",AssemblyName = "UserManage", MenuControlName="UserManage.UserMangeMainForm" },
                          new SmartClientMenu(){Name="权限管理",AssemblyName = "UserManage", MenuControlName="AuthorityMangeMainForm" },
                        }
                    },
                    new SmartClientMenu()
                    {
                        Name="设置",
                        SubMenus = new ObservableCollection<SmartClientMenu>()
                        {
                          new SmartClientMenu(){Name="基础设置", MenuControlName="UserMangeMainForm" },
                          new SmartClientMenu(){Name="接口设置", MenuControlName="AuthorityMangeMainForm" },
                        }
                    },
                };
            }
        }
    }
}
